import React from 'react'

type Props = {}

const App = (props: Props) => {
  // let aaa=(arr:Array<number>):Array<Number>=>{
  //   return arr.sort()
  // }
  // console.log(aaa([10,50,20,4,7]));
  let arr=[1,0,2,4,7];
  let newarrs=arr.sort()
  console.log(newarrs);
  
  return (
    <div>
      
    </div>
  )
}

export default App